package com.atguigu.spzx.order.mapper;

import com.atguigu.spzx.model.entity.order.OrderInfo;

import java.util.List;

public interface OrderInfoMapper {
    void save(OrderInfo orderInfo);

    OrderInfo selectOrderInfoById(Long orderId);

    OrderInfo getOrderInfoByOrderNo(String orderNo);

    List<OrderInfo> selectOrderListByPage(Integer orderStatus, Long userId);

    void updateOrderStatus(String orderNo, int orderStatus);
}
